package cc.uncarbon.module.appapi.model.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.math.BigDecimal;
//订单中的项目
@Accessors(chain = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class OrdersItemBO implements Serializable {
    @Schema(description = "项目id")
    private Long id;
    @Schema(description = "项目名称")
    private String name;

    @Schema(description = "项目缩略图URL")
    private String thumbnail;

    @Schema(description = "商品原价")
    private BigDecimal originalPrice;

    @Schema(description = "项目页面浏览次数")
    private Integer viewCount;
    @Schema(description = "疗程数量")
    private Integer courseNumber;

    @Schema(description = "项目类型")
    private Integer type;

    @Schema(description = "当前售价")
    private BigDecimal currentPrice;


}
